#!/usr/bin/env bash
# Copyright (c) 2021 Presto Labs Pte. Ltd.
# Author: fengyang

source $HOME/miniconda3/etc/profile.d/conda.sh
conda activate kline_plot_env

# build front
cd front
npm run-script build
cd ..

# run backend
cd backend
export FLASK_ENV=development; flask run --host=0.0.0.0
